package com.qk.common.exception;

import com.qk.common.enums.Code;

/**
 * @author 上官徵羽
 * @version 1.0
 * @since 2025-10-15 21:52
 */
public class DeptException extends BaseException{
    public DeptException(Code code) {
        super(code.getMsg());
    }
    public static void throwDeptException(Code code){
        throw new DeptException(code);
    }
}
